#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>

int* FindNumsAppearOnce(int* array, int arrayLen, int* returnSize) {
    int i = 0;
    int arr[1000001] = { 0 };
    int j = 0;
    *returnSize = 0;
    for (i = 0; i < arrayLen; i++)
    {
        arr[array[i]]++;
    }
    for (i = 0; i < 1000001; i++)
    {
        if (arr[i] == 1)
        {
            returnSize[j] = i;
            j++;
        }
    }
    return returnSize;
}


int main()
{
    int arr[] = { 1,4,1,6 };
    int sz = sizeof(arr) / sizeof(arr[0]);

}